//
//  UIImage+Category.h
//  ESport
//
//  Created by mac  on 14-11-21.
//  Copyright (c) 2014年 kdong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Category)

+ (UIImage *)strechingWithImageName:(NSString *)imageName;
//- (UIImage *)scaleWithImage:(UIImage *)image;

+ (UIImage *)scaleFromImage:(UIImage*)image scaledToWidth:(CGFloat)newWidth;

+ (UIImage *)scaleShareImageFromImage:(UIImage*)image scaledToWidth:(CGFloat)newWidth;

//调整图片的旋转问题，选取或拍摄的图片可能都有旋转的问题
+ (UIImage *)fixOrientation:(UIImage *)aImage;
@end
